const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const conversationSchema=new Schema({
    conversationId:{
        type: String,
        require: true,
    },
    participator:{
        type:Array,
        require: true,
    }
}, {
    collection: 'conversation', versionKey: false
})

module.exports = mongoose.model('Conversation', conversationSchema)